package com.yingdong.tools;

public class DBSchemaField {
	private String type;
	private String comment;
	private String name;
	private boolean prim;
	private boolean autoIncrease;
	private Object defaultValue;
	private String jdbcTpye;

	public DBSchemaField(String type, String comment, String name, boolean isPrim, boolean autoIncrease,Object defaultValue,String jdbcTpye) {
		super();
		this.type = type;
		this.comment = comment;
		this.name = name;
		this.prim = isPrim;
		this.autoIncrease=autoIncrease;
		this.defaultValue=defaultValue;
		this.jdbcTpye=jdbcTpye;
	}

	public DBSchemaField() {
		super();
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public boolean isPrim() {
		return prim;
	}

	public void setPrim(boolean prim) {
		this.prim = prim;
	}

	public boolean isAutoIncrease() {
		return autoIncrease;
	}

	public void setAutoIncrease(boolean autoIncrease) {
		this.autoIncrease = autoIncrease;
	}

	public Object getDefaultValue() {
		return defaultValue;
	}

	public void setDefaultValue(Object defaultValue) {
		this.defaultValue = defaultValue;
	}

	public String getJdbcTpye() {
		return jdbcTpye;
	}

	public void setJdbcTpye(String jdbcTpye) {
		this.jdbcTpye = jdbcTpye;
	}



}
